<?php

class ReceivableController extends AdminController {
	public $modelName = 'Receivable';
	
	public function modelProvider() {
		return array_merge(parent::modelProvider(), array(
			'criteria' => array('scopes'=>'related'),
		));
	}
	
	public function outerActions() {
		return array_merge(parent::outerActions(),array(
			'admin' => 'actions.finance.receivable.admin',
			'pay' => 'actions.finance.pay',
			'receive' => 'actions.finance.receive',
			'view' => 'actions.finance.view'
		));
	}
}

?>